//
//  YBRequestManager.h
//  ZhongWangYuanApp
//
//  Created by apple on 18/6/2.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YBAFNetWorkingTool.h"

@interface YBRequestManager : NSObject
//登录
+ (void)request_loginWithUsername:(NSString *)username password:(NSString *)password successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//获取sessionId
+ (void)request_sessionIdWithSuccessBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//获取version
+ (void)request_versionWithSuccessBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//发送短信验证码
+ (void)request_sendVerifySMSCodeWithPhone:(NSString *)phone successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//激活帐号
+ (void)request_activationAccountWithUsername:(NSString *)username password:(NSString *)password name:(NSString *)name inputyzmcode:(NSString *)inputyzmcode inputsmscode:(NSString *)inputsmscode cellphone:(NSString *)cellphone successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//找回密码
+ (void)request_findPasswordWithCellphone:(NSString *)cellphone password:(NSString *)password inputsmscode:(NSString *)inputsmscode successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//修改姓名
+ (void)request_changeNameWithName:(NSString *)name successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//修改手机号
+ (void)request_changePhoneNumberWithPhoneNumber:(NSString *)phoneNumber inputsmscode:(NSString *)inputsmscode successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//修改密码
+ (void)request_changePasswordWithOldPassword:(NSString *)oldPassword newPassword:(NSString *)newPassword againPassword:(NSString *)againPassword successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//专题详情
+ (void)request_objectDetailWithIdString:(NSString *)idString successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//专题基本信息
+ (void)request_classBasicInfoWithIdString:(NSString *)idString successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//专题课程
+ (void)request_objectClassWithIdString:(NSString *)idString pageindex:(NSString *)pageindex successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//专题是否报名
+ (void)request_objectIsSignInWithIdString:(NSString *)idString successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//同步专题进度数据
+ (void)request_synchronousClassDataWithIdString:(NSString *)idString successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//专题学习进度
+ (void)request_objectGetClassProgressWithIdString:(NSString *)idString successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//专题培训结业考试(最高)
+ (void)request_objectGetExamInfoWithIdString:(NSString *)idString successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//专题培训结业考试(当前)
+ (void)request_objectGetCurrentExamInfoWithIdString:(NSString *)idString successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//报名
+ (void)request_objectSignInWithIdString:(NSString *)idString successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//评价
+ (void)request_ybCommitClassWithClasscourseid:(NSString *)classcourseid coursewareid:(NSString *)coursewareid classid:(NSString *)classid scoreList:(NSArray *)scoreList successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

//轮播图新闻页
+ (void)request_homeBannerNewsWithIdString:(NSString *)idString successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

@end
